Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory: use MADV_DONTDUMP if available (Linux) #9604

Merged
merged 3 commits into from
Jan 15, 2021

Conversation

Nekotekina
Copy link
Member

@Nekotekina Nekotekina commented Jan 14, 2021

Also refactor other madvise() usage.
gcore from working game is now "only" ~15 G uncompressed (~282 M in zip).
Probably there is a room for further optimization.

rpcs3/util/vm_native.cpp Outdated Show resolved Hide resolved
rpcs3/util/vm_native.cpp Outdated Show resolved Hide resolved
Also refactor other madvise() usage
For now, set protection to PROT_NONE.
Attempt to address RPCS3#9609
Supplied size was wrong.
@Nekotekina
Copy link
Member Author

Added some minor fixes.

@Nekotekina Nekotekina merged commit aaaeb66 into RPCS3:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants